#基于原始的v2.3.0镜像来做
FROM nacos/nacos-server:v2.3.0
MAINTAINER fengwei

#文件拷贝
ADD conf/application.properties conf/application.properties
ADD target/nacos-server.jar target/nacos-server.jar

#指定容器启动时要执行的命令
EXPOSE 8848 9848
ENTRYPOINT ["sh","-c","bin/docker-startup.sh"]